<!--
 * @Author: your name
 * @Date: 2021-05-25 14:07:10
 * @LastEditTime: 2021-05-25 18:03:59
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \遵义\zunyi\src\views\zhuce\zhuce.vue
-->
<template>
  <div class="logi">
    <el-form ref="form" :model="form" label-width="80px">
      <el-form-item label="姓名" >
        <el-input v-model="form.name" class="inp"></el-input>
      </el-form-item>
            <el-form-item label="电话">
        <el-input v-model="form.phone" class="inp"></el-input>
      </el-form-item>
      <el-form-item>
        <el-button type="primary" @click="onSubmit">立即注册</el-button>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  data(){
    return{
      form:{
        name:"",
        phone:"",

      }
    }
  },
  methods:{
    onSubmit(){
      console.log(1111);
    }
  }
};
</script>

<style>
.logi{
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.inp{
  width: 260px;
  
}
</style>